package com.cbn.ibcp.common.utils.bean;

import com.alibaba.fastjson2.JSONObject;

/**
 * 设备批量导入对象
 */
public class InsDeviceImport {
    private Integer deviceType; //设备类型
    private String name; //设备名称
    private String manufacturer; //生产厂家
    private String factoryDate; //出厂日期 YYYY-MM-dd HH:mm:ss
    private String model; //型号
    private String number; //编号
    private JSONObject details; //设备详情

    public InsDeviceImport() {
    }

    public InsDeviceImport(String deviceType) {
        this.deviceType = Integer.valueOf(deviceType);
    }

    public void addDetails(String k, String val) {
        this.details.put(k, val);
    }



    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getFactoryDate() {
        return factoryDate;
    }

    public void setFactoryDate(String factoryDate) {
        this.factoryDate = factoryDate;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public JSONObject getDetails() {
        return details;
    }

    public void setDetails(JSONObject details) {
        this.details = details;
    }
}
